.threshold-editor {
    padding: 15px;
}

.threshold-section {
    margin-bottom: 20px;
}

.threshold-section h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.threshold-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.threshold-item span:first-child {
    flex: 1;
    min-width: 80px;
}

.operator-btn {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 18px;
}

.operator-btn span {
    flex: 1;
    line-height: 30px;
    text-align: center;
    color: #666;
    transition: all 0.3s;
}

.operator-btn span.active {
    background: #4CAF50;
    color: white;
}

.operator-btn.less span.less {
    background: #FF5722;
    color: white;
}

.operator-btn span:not(.active) {
    background: #ddd;
    color: #666;
}

.threshold-item input[type="number"] {
    width: 80px;
    padding: 5px;
}

.threshold-actions {
    margin-top: 20px;
    text-align: right;
}

.next-step-btn {
    padding: 8px 15px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.next-step-btn:hover {
    background: #1976D2;
}

.operator-radio {
    display: flex;
    gap: 4px;
    margin-right: 8px;
}

.operator-radio label {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    min-width: 24px;
    justify-content: flex-end;
}

.operator-radio input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.operator-radio input[type="radio"]:checked + label {
    color: #4CAF50;
    font-weight: bold;
} 